/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package kks;

import java.awt.Dimension;
import java.util.ArrayList;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JFrame;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

/**
 *
 * @author basti
 */
public class MainFrame extends JFrame{

    public MainFrame()
    {
        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);       
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException ex) {
            Logger.getLogger(HomeFrame.class.getName()).log(Level.SEVERE, null, ex);
        }
        pack();
        
        //frame defaults        
        setSize(1280, 1024);
        setLocationRelativeTo(null);
        setExtendedState(JFrame.MAXIMIZED_BOTH);
        //setUndecorated(true); 
        setVisible(true);
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {        
        HomeFrame homeFrame = new HomeFrame(ApplicationStrings.ApplicationName);
        //MainFrame movieFrame = new MainFrame();
        
        
    }
}
